<script language="JavaScript" type="text/javascript">
	<!--
	function submit_login()
	{
	  document.login_input.submit() ;
	}
	-->
</script>
<div id="topcon">
	<div id="topcon-inner">
		 <h2>Welcome to DCS Online Aide</h2>
			<p><?php echo $message; ?></p>
	</div>
</div>
<div id="login">
      	<div id="login-inner">
		<b><p>LOG-IN</p></b>
		<?php 
			echo form_open('onlineaide/user_login', array('name'=>'login_input', 'id'=>'login_input')); 
		?>
		<table cellpadding="5px" cellspacing="0" border="0">
		<tr>
			<td align="right"><label for="username" style="color:#FFFFFF;"><b>Username: <b></label></td>
			<td><?= form_input(array('id'=>'username', 'name'=>'username', 'class'=>'text', 'size'=>20, 'maxlength'=>15)); ?></td>
		</tr>
		<tr>
			<td align="right"><label for="password" style="color:#FFFFFF;"><b>Password: </b></label></td>
			<td><?= form_password(array('id'=>'password', 'name'=>'password', 'class'=>'text', 'size'=>20, 'maxlength'=>20)); ?></td>
		</tr>
		<tr>
			<td colspan="2" align="center"><a href="javascript:submit_login()">Login</a>  <?php echo anchor('onlineaide/register', 'Register'); ?></td>
		</tr>
		</table>
		</form>
      	</div>
</div>

